package com.start.shop.common.constant;

import java.util.concurrent.TimeUnit;


public class SysConstants {

	/* 业务状态码定义 */
//	/* TOKEN 时效定义*/
	public static final Long TOKEN_EFFECT_TIME = 720L; // token失效时间
	/* TimeUnit枚举类型 NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS */
	public static final TimeUnit TOKEN_TIME_ENUM = TimeUnit.HOURS;
//
//	/* 竞猜唯一价缓存时间 */
	public static final Long GUESS_PRICE_UNIQUE_CACHE_TIME = 2L; // token失效时间
	/* TimeUnit枚举类型 NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS */
	public static final TimeUnit GUESS_PRICE_UNIQUE_CACHE_TIME_ENUM = TimeUnit.HOURS;
	
	/* 登陆渠道定义- 用于定义用户redis中的key */
//	public static final String APP_CHANNEL = "01"; // 成功


	
	
	public static class UserStatus {
		public static final int Nomal = 1;  // 正常
		public static final int Freeze = 2; // 冻结
		public static final int Shut = 3; // 关闭
	}

}
